<?php

class NHelperArray {



static function &array2object($arr){
	$obj = new stdClass;
	foreach ( $arr as  $key=>$value){
		$obj->$key=$value;
	}
	return $obj;
	
}
}
?>